package com.yeyks.common.param.activity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author: shuai
 * @date: 2019/12/12 0012 16:33
 */
@Data
@ApiModel(description = "公司对公账户")
public class ActivityTSStatParam implements Serializable {
    private static final long serialVersionUID = -3401152129521090220L;

    @ApiModelProperty("推手类型，1学生推手，2社会推手")
    @NotNull(message = "推手类型不能为空")
    private Integer tsType;

    @ApiModelProperty("统计类型，1邀请注册数，2下单(支付成功)人数")
    @NotNull(message = "统计类型不能为空")
    private Integer statType;

    @ApiModelProperty("日期类型，1日数据，2月数据")
    @NotNull(message = "日期类型不能为空")
    private Integer dateType;

    @ApiModelProperty("天的开始时间")
    private Long startTimeDay;

    @ApiModelProperty("天的结束时间")
    private Long endTimeDay;

    @ApiModelProperty("月的开始时间")
    private Long startTimeMonth;

    @ApiModelProperty("月的结束时间")
    private Long endTimeMonth;

    @ApiModelProperty(value = "开始时间", hidden = true)
    private Date startTime;

    @ApiModelProperty(value = "结束时间", hidden = true)
    private Date endTime;

}
